package gameobjects;

import ui.View;

public class Game {
	private View view;
	private boolean started;
	private Player[][] players;
	private CardStack OfficeCards = new CardStack();
	
	/**
	 * starts the game's setup phase: adding players, shuffling cards
	 */
	public void runSetup(){
		this.view = new View(this);
		this.players = new Player[100][4]; //This represents the position of the players on
										   //city wall. The first is the position on the wall,
		                                   //the second index is the position of the player in the stack
		
		
	}
	
	/**
	 * Add a player to the game
	 * @param name
	 */
	public void addPlayer(String name){
		if (!started){
			//TODO further impement Game.addPlayer
		}
	}
	
	/**
	 * starts the game
	 */
	public void startGame(){
		//TODO implement Game.startGame()
	}
	
	/**
	 * returns a list of players in the game
	 * @return the list of players
	 */
	public Player[] getPlayers(){
		//TODO implement game.getPlayers
		return null;
	}
	
	/**
	 * returns the dice associated with a given type of action cube
	 * @param cubetype the ACtionCube the dice is associated with
	 * @return the dice
	 */
	public Dice getDice(ActionCube cubetype){
		return new Dice(ActionCube.BLACK);
		//TODO properly implement Game.getDice()
	}
	
}
